package com.hhkj.study.admin.course.service.extend.impl;

import com.hhkj.study.admin.course.entity.CourseTeacher;
import com.hhkj.study.admin.course.mapper.CourseTeacherMapper;
import com.hhkj.study.admin.course.model.podo.CourseTeacherDo;
import com.hhkj.study.admin.course.model.podo.CourseTeacherPo;
import com.hhkj.study.admin.course.service.base.CourseTeacherService;
import com.hhkj.study.admin.course.service.extend.CourseTeacherExtendService;
import com.ruoyi.common.base.biz.service.extend.BaseExtendServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
*
* @author SERVER
* @since 2024-09-18
*/
@Service
public class CourseTeacherExtendServiceImpl extends BaseExtendServiceImpl<CourseTeacher, CourseTeacherDo, CourseTeacherPo, CourseTeacherService> implements CourseTeacherExtendService {

    @Resource
    private CourseTeacherMapper courseTeacherMapper;

    @Override
    public void removeByCourseId(Long courseId) {
        courseTeacherMapper.removeByCourseId(courseId);
    }
}
